package com.example.fragmentbestpractice;

public class News {

    private String title;

    private String content;

    public String getTitle() {
        // 返回新闻标题
        return title;
    }

    public void setTitle(String title) {
        // 设置新闻标题
        this.title = title;
    }

    public String getContent() {
        // 获取新闻内容
        return content;
    }

    public void setContent(String content) {
        // 设置新闻内容
        this.content = content;
    }

}
